You are here: COM API reference > Events > BeforeCopyWithReferences event

BeforeCopyWithReferences event

This event is reserved for internal use by Meridian Enterprise.

Syntax

Private Sub AMUIExtension_BeforeCopyWithReferences(
          ByVal CurrentObject As Object,
          ByVal OldParentDocument As AMEDM.IAMDocument,
          ByVal NewParentDocument As AMEDM.IAMDocument,
          DestinationFolder As AMEDM.IAMFolder,
          Abort As Boolean)
Parameters
Name Description

CurrentObject

The document object (AMDocument object).

OldParentDocument

The document object (the source) referenced by the child files before the copy is made.

NewParentDocument

The document object (the copy) referenced by the child files after the copy is made.

DestinationFolder

The folder object where the copy is created.

Abort

Setting this argument to True will abort the operation. The AfterCopyWithReferences event will not occur.

Remarks


www.bluecieloecm.com